Error when generating HTML and JPEG format report

I have used fast report to generating our reports in different format, it works for the most, but don't work for the format JPEG and HTML.

The error message for JPEG is below.

System.ArgumentException: Empty path name is not legal.
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at FastReport.Export.Image.ImageExport.UB2D1yF43(Image , String )
at FastReport.Export.Image.ImageExport.ExportPage(Int32 pageNo)
at FastReport.Export.ExportBase.Export(Report report, Stream stream)
at FastReport.Report.Export(ExportBase export, Stream stream)
at ReportSender.GetReportJpegAsMemoryStream(
Report r)


The error for HTML is it generate a zero length data, but the data input for generating is the same.

Comments

  • edited 7:30AM
    Did you get an answer to this?? I am having the same problem and need to resolve it ASAP. >

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.